<template>
	<view class="pr">
		<view class="flexR pf jcc w100 " style="margin-top:1000rpx;">
			<view class="he1 tac cf">一件提醒未打卡员工</view>
		</view>
		<view class="bgf flexR jcsa c9" style="height: 60rpx;">
			<view :class="[type==1 ?'c0':'']" @click="swit(1)">巡查日志</view>
			<view :class="[type==2 ?'c0':'']" @click="swit(2)">员工教案</view>
		</view>
		<view class="" v-if="type==1">
			<view class="he mlr30 mt20" v-for="(item,index) in 3" :key="index">
				<view class="mlr30">
					<view class="flexR  mt30">
						<image class="tx br50" src="../../../static/img/005.png" mode=""></image>
						<view class="flexC ml10">
							<view class="">姓名</view>
							<view class="c6">时间时间时间时间时间</view>
						</view>
					</view>
					<view class="mt10 c9">巡查地址</view>
					<view class="">巡查地址巡查地址巡查地址巡查地址巡查地址</view>
					<view class="mt20 c9">岗位巡查</view>
					<view class="">岗位巡查内容岗位巡查内容岗位巡查内容岗位巡查内容岗位巡查内容岗位巡查内容</view>
					<view class="mt20 c9">备注</view>
					<view class="">备注备注备注备注备注备注备注</view>
					<view class="flexR mt20" >
						<image class="tp mlr30" v-for="(item,index) in 3" :key="index" src="../../../static/img/005.png" mode=""></image>
					</view>
				</view>
				<view class="p30"></view>
			</view>
			
		</view>
		<view class="" v-if="type==2">
			<view class="he mlr30 mt20" v-for="(item,index) in 3" :key="index">
				<view class="mlr30">
					<view class="flexR aic mt30">
						<image class="tx br50" src="../../../static/img/005.png" mode=""></image>
						<view class="flexC ml10 flexauto">
							<view class="">姓名</view>
							<view class="c6">时间时间时间时间时间</view>
						</view>
						<view class="" style="color: #1F73F2;">查看详情</view>
						<image  class="tp1" src="../../../static/img/005.png"></image>
					</view>
					<view class="xian w100"></view>
					<view class="mt20 flexR">
						<view class="flexauto">选项1</view>
						<view class="">选项内容选项内容</view>
					</view>
					<view class="xian w100"></view>
					<view class="mt20 flexR">
						<view class="flexauto">选项1</view>
						<view class="">选项内容</view>
					</view>
					<view class="xian w100"></view>
					<view class="mt20 flexR">
						<view class="flexauto">选项1</view>
						<view class="">选项内容选项内容选项内容</view>
					</view>
					
				</view>
				<view class="p30"></view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
			type:1,
			
			}
		},
		onLoad(option) {
	
		},
		onShow() {
	
		},
		methods: {
			swit(e) {
				let index = e
				this.type = index
			},
		}
	}
</script>

<style scoped>
	.xian{
		height:3rpx;
		
		background-color: #e7e7e7;
	}
	.he1{
		border-radius: 10rpx;
		line-height: 80rpx;
		width: 600rpx;
		background-color: #1F73F2;
		height: 80rpx;
		
	}
	.tp1{
		width: 24rpx;
		height: 24rpx;
	}
	.tp{
		height: 156rpx;
		width: 156rpx;
	}
	.tx{
		height: 84rpx;
		width: 84rpx;
	}
	.he{
		opacity: 1;
		background: #ffffff;
		border-radius: 20rpx;
		box-shadow: 3rpx 5rpx 13rpx 0rpx rgba(0, 0, 0,0.2); 
	}
</style>
